package com.api.shopapi.service;


import com.api.shopapi.entity.Remind;
import com.api.shopapi.entity.dto.RemindDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface RemindService {

    int insert(Remind remind);

    PageInfo<Remind> getListByUserCode(int pageIndex,int pageSize, String userCode);


    int update(Remind remind);





    int delete(String remindCode);



    List<Remind> getList();

    Remind getByRemindCode(String remindCode);


    PageInfo<RemindDTO> getPageList(int pageIndex, int pageSize, String governmentCode, Date startTime, Date endTime);
}
